import { defineStore } from "pinia"

export const useWatermarkStore = defineStore({
  id: "watermarkStore",
  persist: {
    enabled: true,
  },
  state: () => {
    return {
      watermark: {},
      isShow: false,
      pageConfig: {},
    }
  },
  actions: {
    //设置水印状态
    setWatermarkStatus(val: boolean): void {
      this.isShow = val
    },
  },
})
